// Created by Administrator on 2015/12/1.

doctype html
html(ng-app='app')
    head
        title #{title}
        link(rel='stylesheet' href='/css/bootstrap.min.css')
        link(rel='stylesheet' href='/css/ace.css')
        script(src='/js/lib/jquery.min.js')
        script(src='/js/lib/bootstrap.min.js')
        script(src='/js/lib/angular.min.js')
        block javascript
    body(style="background-color:#efefda")
        .row
            div(style='float:none;margin-top:100px;width:500px').col-xs-3.center-block
                h1(style='margin-bottom:20px').text-center 秀厨网后台登录
                form.form-horizontal(role='form' method='post' action='/access/login')
                    .form-group
                        label(for='username').col-sm-2.control-label 帐号：
                        .col-sm-10: input#username(type='text' value='#{username||""}' name='username' placeholder='请输入帐号' required).form-control
                    .form-group
                        label(for='password').col-sm-2.control-label 密码：
                        .col-sm-10: input#password(type='password' name='password' placeholder='请输入密码' required=).form-control
                    .form-group
                        label(for='username').col-sm-2.control-label
                        .col-lg-10: label(style='color:red;font-size:12px') #{message||''}
                    .form-group
                        .col-sm-offset-2.col-sm-10
                            button(type='submit').btn.btn-default 登录

